#ifndef _DIG_H_
#define _DIG_H_
#include "PUBLIC.H"

#define SMG_4_PORT	P0
#define SMG_NULL	0XBF

sbit SMG_1 = P2^2;
sbit SMG_2 = P2^1;
sbit SMG_3 = P2^0;

extern uchar digBuf[16];
extern uchar digDpBuf[16];
extern uchar digDisplayBuf[3];

void DisplayDig(uchar dat[], uchar pos);
void DigResetBuf();

#endif